//
//  PPUserModel.h
//  PPBlueToothDemo
//
//  Created by 彭思远 on 2020/7/31.
//  Copyright © 2020 彭思远. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "PPScaleDefine.h"

NS_ASSUME_NONNULL_BEGIN

@interface PPUserModel : NSObject
@property (nonatomic, copy) NSString *userID;
@property (nonatomic, copy) NSString *memberID;
@property (nonatomic, copy) NSString *userName;

@property (nonatomic, assign) NSInteger deviceHeaderIndex;
@property (nonatomic, assign) NSInteger userHeight;
@property (nonatomic, assign) PPUserGender userGender;
@property (nonatomic, assign) NSInteger userAge;
@property (nonatomic, assign) PPUserUnit userUnit;
@property (nonatomic, assign) BOOL isPregnantMode;
@property (nonatomic, assign) BOOL isAthleteMode;

- (instancetype)initWithUserHeight:(NSInteger)userHeight gender:(PPUserGender)userGender age:(NSInteger)userAge pregnantMode:(BOOL)isPregnantMode athleteMode:(BOOL)isAthleteMode andUnit:(PPUserUnit)userUnit;

- (void)addUserId:(NSString *)userId memberId:(NSString *)memberId deviceHeaderIndex:(NSInteger)index userName:(NSString *)userName;
@end

NS_ASSUME_NONNULL_END
